The External Modules are small functions and programs that you can add to proFit in order to build-in some extra features.
To use an external module:
1. Start your copy of proFit.
2. Choose "External Modules..." from the "Misc" menu.
3. Select the module to be linked.
The External Modules are found in the folder:
"External Modules (non-FPU) ƒ"
These are the modules for the non-FPU-version of proFit
If you want to modify an external module (to add new features or just to use it as a template for creating a new external module) the source code is provided in the folder:
"External modules sources"
Two good, small examples of a program and a function, respectively, are "multiply" and "ErrorFunc"
For many of the functions an programs, you will find the source in PASCAL as well as in C.
For a description of functions and programs and of their use, refer to the proFit user manual.
ALPHABETICAL LIST OF ALL EXTERNAL MODULES FOUND IN THIS FOLDER.
This is a program that draws a countour plot representation of the data found in the
current data window. The row numbers and column numbers in the current data window are interpreted as coordinates and the numbers in the data window as heights. The number found in the data window in row i and column j gives the value of a function f(i,j). The program draws a contour plot of f(i,j) in the currend graph. The i and j coordinates are scaled to fit in the ranges of the current graph.
This is a very simple program that fills the current data window with a multiplication table. It is meant as a simple example of the features of a program.
This function uses the data points found in the x- and y-columns of the current data window to calculate a smooth interpolation curve (a "guide for the eyes"). The degree of smoothness is a parameter of the function.
Another function that does the same thing but with a completely different algorithm is also provided below. Use whichever functions bests fits your wishes.
This function uses the data points found in the x- and y-columns of the current data window to calculate a smooth interpolation curve (a "guide for the eyes"). The curve is calculated on the basis of a succsession of linear interpolations over data point intervals containing a certain fixed amount of points. The number of points contained in the data intervales is a parameter of the function and gives the degree of smoothness. The curve which is drawn is a Bezier curve.